package com.example.demo.modules.test.dto.student;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class StudentDTO {

    @ApiModelProperty(value = "主键id")
    @TableId("id")
    private String id;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "性别", notes = "0男1女")
    private String sex;

    @ApiModelProperty(value = "出生日期")
    private LocalDateTime birthday;

    @ApiModelProperty(value = "班级id")
    private String classId;

    @ApiModelProperty(value = "班级编号")
    private String classNo;
}
